package com.xinghai.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinghai.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import com.xinghai.common.core.domain.BaseEntity;

/**
 * 对账单对象 qd_pay_order
 *
 * @author xinghai
 * @date 2024-12-07
 */
@TableName("qd_pay_order")
@Data
public class QdPayOrder extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 状态（0显示 1隐藏） */
    @Excel(name = "状态", readConverterExp = "0=显示,1=隐藏")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 生成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date genDate;

    /** 单数 */
    @Excel(name = "单数")
    private Integer orderNum;

    /** 会员变动数 */
    @Excel(name = "会员变动数")
    private Integer memberNum;

    /** 买入金额 */
    @Excel(name = "买入金额")
    private BigDecimal buyAmount;

    /** 卖出金额 */
    @Excel(name = "卖出金额")
    private BigDecimal sellAmount;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long storeId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;


}
